- Create a new user with administrator permissions
- Sign out of the current user and sign in as the newly created user
- Navigate to
C:\Users
in File Explorer - Click into the account you want move AppData from
- There could be a popup telling you that you need to allow yourself to access that user's data, do so
- Cut the AppData folder
- If invisible, go to View and check Hidden Items
- Paste in the desired location
Discover gists
I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.
I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real
# This isn't supposed to run as a bash script, i named it with ".sh" for syntax highlighting. | |
# https://developer.nvidia.com/nsight-systems | |
# https://docs.nvidia.com/nsight-systems/profiling/index.html | |
# My preferred nsys (command line executable used to create profiles) commands | |
# | |
# In your script, write | |
# torch.cuda.nvtx.range_push("region name") | |
# ... |
package main | |
// Simple, single-threaded server using system calls instead of the net library. | |
// | |
// Omitted features from the go net package: | |
// | |
// - TLS | |
// - Most error checking | |
// - Only supports bodies that close, no persistent or chunked connections | |
// - Redirects |
import xmltodict | |
import pandas as pd | |
import requests | |
xml = request.get('url').text | |
df = pd.DataFrame(xmltodict.parse(xml)) | |
df.rename(columns=lambda x: x.replace('@', ''), inplace=True) | |
df.to_csv('data.csv') |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# System: macOS 12+ | |
# Version: TeamViewer v15.x.x | |
# Python: 3.x.x | |
# Command: sudo python TeamViewer-15-id-changer.py | |
# | |
import os |
import gitlab | |
import urllib3 | |
import humanfriendly | |
import timeago, datetime | |
# 2020-04-24T12:04:26.475+00:00 | |
date_now = datetime.datetime.now() | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |
- Create a Github App (Organization > Settings > Developer Settings > Github Apps). This name will be publicly visible and any repo invites will show this name in the invite email.
- Set the permissions to read/write for repository administration and repository contents.
- Install the Github App for your organization (Github App > Install App)
- Generate a private key for your Github App
- Copy the Ruby Script to generate a JWT from your private key https://developer.github.com/apps/building-github-apps/authentication-options-for-github-apps/
require 'openssl'
require 'jwt' # https://rubygems.org/gems/jwt